<%--
  Created by IntelliJ IDEA.
  User: 王德明
  Date: 2018/5/23
  Time: 15:07
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<div class="modal-header">
    <button class="close" ng-click="cancel()">
        <span aria-hidden="true">×</span>
    </button>
    <h3 class="modal-title" id="modal-title">异常单管理</h3>
</div>

<div class="modal-body" id="modal-body">
    <div class="ibox-content no-borders tab-content">
        <form  name="myForm" class="form-horizontal formTopSpacing" ng-model="row">
            <!--商户号-->
            <div class="form-group">
                <label class="col-sm-4 control-label formTextVerticalMiddle">商户号：</label>
                <div class="col-sm-5">
                    <input id="merId" name="merId" type="text" class="form-control"  ng-model="row.merId" readonly>
                </div>
            </div>
            <!--商户名称-->
            <div class="form-group">
                <label class="col-sm-4 control-label formTextVerticalMiddle">商户名称: </label>
                <div class="col-sm-5">
                    <input id="name" name="name" type="text" class="form-control" value="{{row.merId | getMerchantNameByMerId : init.merchant}}" readonly>
                </div>
            </div>
            <!--平台订单号-->
            <div class="form-group">
                <label class="col-sm-4 control-label formTextVerticalMiddle">平台订单号：</label>
                <div class="col-sm-5">
                    <input id="refId" name="refId" type="text" class="form-control" ng-model="row.orderId" readonly>
                </div>
            </div>
            <!--异常状态-->
            <div class="form-group">
                <label class="col-sm-4 control-label formTextVerticalMiddle">异常状态：</label>
                <div class="col-sm-5">
                    <input id="status" name="status" type="text" class="form-control" value="{{ row.typeName }}" readonly>
                    <input type="text" ng-model="row.type" ng-show="false">
                </div>
            </div>
            <!--异常币种-->
            <div class="form-group">
                <label class="col-sm-4 control-label formTextVerticalMiddle">异常币种： </label>
                <div class="col-sm-5">
                    <input id="currency" name="currency" type="text" class="form-control" ng-model="row.currency " readonly>
                </div>
            </div>
            <!--异常金额-->
            <div class="form-group">
                <label class="col-sm-4 control-label formTextVerticalMiddle">异常金额：</label>
                <div class="col-sm-5">
                    <input id="amount" name="amount" type="text" class="form-control" ng-model="row.amount" readonly>
                </div>
            </div>
            <!--处理费-->
            <div class="form-group">
                <label class="col-sm-4 control-label formTextVerticalMiddle">处理费：</label>
                <div class="col-sm-5">
                    <input id="fee" name="fee" type="text" class="form-control" ng-model="row.fee" readonly>
                </div>
            </div>
            <!--申请人-->
            <div class="form-group">
                <label class="col-sm-4 control-label formTextVerticalMiddle">申请人：</label>
                <div class="col-sm-5">
                    <input id="applicant" name="applicant" type="text" class="form-control" ng-model="row.applicant" readonly>
                </div>
            </div>
            <!--申请时间-->
            <div class="form-group">
                <label class="col-sm-4 control-label formTextVerticalMiddle">申请时间：</label>
                <div class="col-sm-5">
                    <input id="applicantTime" name="applicantTime" type="text" class="form-control" value="{{ row.applicationTime | date: 'yyyy-MM-dd hh:mm:ss' }}" readonly>
                </div>
            </div>
            <!--申请理由-->
            <div class="form-group">
                <label class="col-sm-4 control-label formTextVerticalMiddle">申请理由：</label>
                <div class="col-sm-5">
                    <input id="reasons" name="reasons" type="text" class="form-control" ng-model="row.reasons" readonly>
                </div>
            </div>
            <!--复核-->
            <div class="form-group">
                <label class="col-sm-4 control-label formTextVerticalMiddle"><span class="text-danger">*</span>复核：</label>
                <div class="col-sm-5">
                    <input type="radio" name="statusName" value="1" ng-model="row.status" ng-checked="true"/>通过
                    <input type="radio" name="statusName" value="2" ng-model="row.status"/>未通过
                </div>
            </div>
            <!--审核描述-->
            <div class="form-group">
                <label class="col-sm-4 control-label formTextVerticalMiddle">审核描述：</label>
                <div class="col-sm-5">
                    <input id="remark" name="remark" type="text" class="form-control" ng-model="row.remark">
                </div>
            </div>
        </form>
    </div>
</div>

<div class="modal-footer">
    <row>
        <div class="col-sm-12">
            <div class="center">
                <button class="btn btn-sm btn-primary" type="button" ng-click="auditAbnormal(row)">
                    提交
                </button>
            </div>
        </div>
    </row>
</div>

